package com.zmzncs.lmtc.module.customer.pojo.cust_ticket;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 任建波
 * @since 2020-10-10
 */
@Data
public class CustTicketDTO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "优惠券id")
    private Long ticketId;

    @ApiModelProperty(value = "客户id")
    private Long customerId;

    @ApiModelProperty(value = "使用状态（0：未用 1：已用）")
    private Integer status;

    @ApiModelProperty(value = "使用类型，1.通用 2.时长 3.月租 4.充值")
    private Integer useType;

    @ApiModelProperty(value = "发放类型，1平台发放，2活动发放")
    private Integer grantType;

    @ApiModelProperty(value = "使用开始时间")
    private Date useBeginTime;

    @ApiModelProperty(value = "使用结束时间")
    private Date useEndTime;

    @ApiModelProperty(value = "领取时间")
    private Date receiveTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "总领取")
    private Long sumReceived;

    @ApiModelProperty(value = "总使用")
    private Long sumUsed;

    @ApiModelProperty(value = "发放时间")
    private String grantTime;

    @ApiModelProperty(value = "已领取")
    private Long received;

    @ApiModelProperty(value = "已使用")
    private Long used;

    @ApiModelProperty(value = "图片地址")
    private String fileUrl;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "手机号")
    private String mobilePhone;

    @ApiModelProperty(value = "优惠券名称")
    private String ticketName;

    @ApiModelProperty(value = "商户名称")
    private String shopName;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;
}
